import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

//导入共享代码块
import common from "./utils/common";

//引入ElementUI组件库
import ElementUI from 'element-ui';
//导入配置文件
import constant from "./constant";

//svg图标的设置
import './assets/svgIcons/index'
import SvgIcon from "@/common/svgIcon.vue";
Vue.component('svg-icon',SvgIcon);//全局注册svg-icon

import './utils/changedtitle'//和标签页标题变换有关


//引入css
import './assets/css/index.css'
import './assets/css/color.css'

Vue.use(ElementUI);
Vue.prototype.$common = common
Vue.prototype.$constant = constant
Vue.config.productionTip = false


new Vue({
  router,
  store,// 使用vuex功能，集成存储
  render: h => h(App)
}).$mount('#app')
